@charset "utf-8";
/* CSS Document */
/*样式初始化*/
* {
	font-family: "微软雅黑", "Microsoft YaHei";
}

html {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

body {
	padding: 0px;
	margin: 0px;
	width: 100%;
	background-color: #fff;
	font-family: "微软雅黑", "Microsoft YaHei";
}

article,aside,blockquote,body,button,code,dd,details,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,input,legend,li,menu,nav,p,pre,section,td,textarea,th,ul
	{
	margin: 0;
	padding: 0;
}

img {
	border: none;
	display: inline;
}

dl,dd,dt,ul,li {
	padding: 0px;
	margin: 0px;
	list-style: none;
}

h1,h2,h3,h4,h5 {
	margin: 0px;
	padding: 0px;
}

a:hover,a:active {
	outline: 0;
}

a {
	color: #0088cc;
	text-decoration: none;
}

a:hover {
	color: #005580;
	text-decoration: none;
}
/*清除a链接自带虚线*/
a {
	blr: expression(this.onFocus = this.blur () );
}

a {
	outline: none;
}

label {
	display: block;
	font-size: 14px;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 12px;
	font-weight: normal;
	padding: 0px;
	margin: 0px;
}

select,input,textarea,p.text {
	border: 1px solid #cccccc;
	background-color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
	-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
	-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
	-o-transition: border linear 0.2s, box-shadow linear 0.2s;
	transition: border linear 0.2s, box-shadow linear 0.2s;
	padding: 0px;
	color: #333;
	outline: none;
}
input::-ms-clear,
input::-ms-reveal{
	display:none;
	}
textarea {
	min-height: 90px;
	line-height: 20px;
	resize: none;
	resize: vertical;
	font-size: 12px;
}
.box {
	width: 100%;
	height: auto;
	position: relative;
}
/*正在联系的客服的姓名*/
.we-header {
	width: 100%;
	position: relative;
	height: 50px;
	background-color: #3e3e40;
	position: absolute;
	overflow: hidden;
}
.we-shop {
	overflow: hidden;
	height:100%;
}
.we-shop .we-title{
	background: url(../images/wechat/we-title.png) left center no-repeat;
	padding-left:40px;
	font-size: 14px;
	line-height: 40px;
	color:#fff;
	margin-left: 20px;
	float: left;
}
.we-header .we-chat-object {
	font-weight: 100;
	color: #fff;
	line-height: 50px;
	display:block;
	font-size: 16px;
	padding: 5px 5px 0 12px;
	cursor: pointer;
	margin-left: 80px;
	margin-right: 80px;
	text-align: center;
}
.we-header .we-shop-set{
	float: right;
	height:100%;
	height:40px;
	position: absolute;
	top:5px;
	right: 6px;	
}
.we-header .we-shop-set i{
	display:inline-block;
	width:20px;
	height:20px;
	font-weight: bold;
	font-style: normal;
	padding: 10px;
	cursor: pointer;
	color:#999;
	margin-right:6px;
	background: url(../images/wechat/we-zoomIn.png) center center no-repeat;
}
.we-header .we-shop-set i.colse{
	background: url(../images/wechat/we-close.png) center center no-repeat;
}

.we-header .we-chat-object.red{
	color:#f00;
}
.we-header .we-chat-object.red:hover{
	text-decoration: underline;
}
.we-content{
	width:100%;
	position: absolute;
	top: 48px;
	bottom: 0px;
	left: 0;
	right:0;
}
/*左边游客列表*/
.we-left-sidebar {
	position: absolute;
	top: 0;
	bottom: 0px;
	left: 0;
	background: #eaeaea;
	z-index: 1;
	float: left;
	width: 220px;
	height: 100%;
}
/*回话列表*/
.u-wrap {
	height: 100%;
	padding-bottom: 10px;
	overflow: auto;
}
/*在线聊天左边的简单客服列表*/
.u-wrap ul.u-lst{
	padding:6px;
}
.u-wrap ul.u-lst li {
	float: left;
	width: 100%;
	min-height: 30px;
	overflow: hidden;
	cursor:pointer;
	margin-bottom: 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding:3px;
	position: relative;	
}
.u-wrap ul.u-lst li span{
	line-height: 30px;
	font-size: 14px;
	color:#333;
	padding-left:30px;
	display:block;
	padding-right:15px;
	width:100%;
	overflow:hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: url(../images/chat/icon-small.png) left center no-repeat;
}
.u-wrap ul.u-lst li lable{
	line-height: 20px;
	font-size: 12px;
	color:#333;
	float:right;
	text-align: center;
	padding: 0 6px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background-color: #ccc;
	margin-top: 5px;	
}
.u-wrap ul.u-lst li i.close{
	font-style: normal;
	font-size: 16px;
	line-height: 20px;
	cursor: pointer;
	position: absolute;
	top:7px;
	right:5px;
	color:#999;
}
.u-wrap ul.u-lst li i.close:hover{
	color:#f00;
}
/*新消息来临*/
.u-wrap ul.u-lst li.active{
	background-color:#14d212;
}
.u-wrap ul.u-lst li.active span,
.u-wrap ul.u-lst li.active lable{
	color: #333;
}
.u-wrap ul.u-lst li.active lable{
	background-color: #fff;
}
/*当前点击正在聊天的对象*/
.u-wrap ul.u-lst li.current {
	background: #cacdd3;
}
.u-wrap ul.u-lst li.current lable{
	display: none;
}
/*当前状态离线后，头像变灰，字体颜色变灰，关闭按钮显示*/
.u-wrap ul.u-lst li.leave {
	color:#f0f0f0;
}
.u-wrap ul.u-lst li.leave span {
	background: url(../images/chat/icon-leave-small.png) left center no-repeat;
}
.u-wrap ul.u-lst li.leave span,
.u-wrap ul.u-lst li.leave lable{
	color: #ccc;
}
.u-wrap ul.u-lst li.leave lable{
	background-color: #cacdd3;
	color:#f7f7f7;
}
/*鼠标划过的交互*/
.u-wrap ul.u-lst li:hover,
.u-wrap ul.u-lst li.hover {
	background-color: #d5d8de;
}
.u-wrap ul.u-lst li.active:hover{
	background-color:#4cb134;
}
.u-wrap ul.u-lst li.leave:hover{
	background-color:#e2e2e2;
}
/*中间的对话框*/
.we-middle {
	position: relative;
	z-index: 2;
	margin: 0 0 0 220px;
	height:100%;
	border-bottom: 1px solid #ddd;	
}

.we-chat-window {
	height:100%;
	z-index: 2;
	margin: 0 300px 0 0;
	margin-right: 340px;
}
.we-chat-window .we-chat-content{
	width:100%;
	height:100%;
	position: relative;
}

.we-chat-window .we-chat-content .we-chat-list {
	padding: 10px 16px;
	zoom: 1;
	overflow: auto;
	position: absolute;
	padding:10px;
	background-color: #fff;
	width:100%;
	height:auto;	
	top:0;
	left:0;
	right:0;
	bottom:192px;
}
/*简单的气泡布局方式*/
.we-chat-list .welcome{
	line-height: 32px;
	color:#666;
	padding-left:20px;
	text-align: left;
	font-size: 12px;
	padding: 20px;
}
/*左边消息*/
.service {
	word-break: break-all;
	padding: 4px;
	clear: both;
	line-height: 20px;
	color: #333333;
	margin: 3px 4px 10px;
	padding-bottom:10px;
}

.service .dialog {
	float: left;
	max-width: 422px;
	background: url(../images/wechat/kefu_icon01.jpg) #f1f1f1 left top no-repeat;
}

.service .dialogChat {
	padding: 6px;
	border: 1px solid #dedddd;
	border-left: none;
	margin-left: 10px;
	max-width: 400px;	
}
.service .dialogChat span.we-name {
	color: #888888;
	font-size: 12px;
	margin-bottom: 4px;
	text-align: left;
}
.service .dialogChat p.dialog-text{
	height:auto;
	margin-top: 5px;
	font-size: 13px;
	line-height: 16px;
	text-align: left;
}
.service .dialogChat p.dialog-text img{
	max-width:390px;
}

.service .dialogChat i {
	width: 14px;
	height: 14px;
	background: url(../images/wechat/kefu_icon02.jpg);
	margin: 4px 6px 0 0;
	float: left;
	display: block;
}
/*右边消息*/
.customer {
	word-break: break-all;
	float: right;
	clear: both;
	line-height: 20px;
	color: #333333;
	margin: 10px 0 3px;
	padding-bottom:10px;
}

.customer .dialog {
	float: right;
	background: url(../images/wechat/kefu_icon03.jpg) #eefee2 right top no-repeat;
	max-width: 422px;
}

.customer .dialogChat {
	padding: 10px;
	border: 1px solid #d9e7d4;
	border-right: none;
	margin-right: 10px;
	text-align: left;
}

.customer .dialogChat span.we-name {
	color: #888888;
	font-size: 12px;
	margin-bottom: 4px;
	text-align: left;
	float:right;
}
.customer .dialogChat p.dialog-text{
	clear:both;
	width:100%;
	height:auto;
	margin-top: 5px;
	font-size: 13px;
	line-height: 16px;
	text-align: left;
	max-width:400px;
}
.customer .dialogChat p.dialog-text img{
	max-width:390px;
}
.customer .dialogChat i {
	width: 14px;
	height: 14px;
	background: url(../images/wechat/kefu_icon02.jpg);
	margin: 4px 6px 0 0;
	float: left;
	display: block;
}
/*工具条*/
.we-chat-window .we-edit-area {
	position: absolute;
	z-index: 9;
	width: 100%;
	height: 192px;
	bottom:0;
	left:0;	
}

.we-chat-window .we-edit-toolbar {
	position: relative;
	border-top: 1px solid #e2e2e2;
	width: 100%;
	height: 30px;
	line-height: 30px;
}

.we-icon-out div.face,
.we-icon-out div.pic{
	margin: 5px 0 5px 10px;
	line-height: 30px;
	width: 22px;
	height: 22px;
	float: left;
}

.we-icon-out .we-face {
	background-position: left 0;
}

.we-icon-out .pic form,.we-icon-out i {
	display: inline-block;
	width: 22px;
	height: 22px;
	background: url(../images/chat/icon01.png) no-repeat;
}

.we-icon-out .we-pic,.we-icon-out .pic form {
	background-position: -28px top;
	cursor: pointer;
}

.we-icon-out .we-star {
	margin-right: 2px;
	background-position: -84px 0
}

.we-icon-out .we-star:hover {
	background-position: -84px -30px
}

.we-icon-out .we-face:hover {
	background-position: left -30px
}

.we-icon-out .pic:hover .we-pic{
	background-position: -28px -30px
}
.we-icon-out .pic{
	position: relative;
	
}
.we-icon-out .pic #fileForm,
.we-icon-out .pic #photoUpload{
	margin: 0;
	padding: 0;
	height: 30px;
	width: 30px;
	border: none;
	overflow: hidden;
	font-size: 10px;
	position: absolute;
	left: 0;
	top: 0;
 	opacity: 0;
	filter: alpha(opacity = 0);
	cursor: pointer;
	z-index: 0;
}
#fileForm input{
	margin: 0;
	padding: 0;
	height: 30px;
	width: 30px;
}
/*文本输入框*/
.we-chat-window .we-edit-ipt-area {
	clear: both;
	padding: 5px 10px;
	height: 120px;
	overflow: hidden;
}

.we-edit-ipt-area .we-edit-ipt {
	border: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	resize: none;
	overflow-y: auto;
	font-weight: normal;
	font-size: 12px;
	line-height: 18px;
	overflow-x: hidden;
	word-break: break-all;
	font-style: normal;
	outline: none;
	-moz-box-sizing: border-box; /*Firefox3.5+*/
	-webkit-box-sizing: border-box; /*Safari3.2+*/
	-o-box-sizing: border-box; /*Opera9.6*/
	-ms-box-sizing: border-box; /*IE8*/
	box-sizing: border-box;
}
.we-edit-ipt-area .we-edit-ipt img{
	max-width: 200px;
}
.we-chat-window .we-edit-btn-area {
	clear: both;
	width:100%;
	height:40px;
	text-align: right;
	overflow: hidden;
}
.we-chat-window .we-edit-btn-area .we-edit-btn-tip{
	float: left;
	color:#999;
	line-height: 30px;
	margin: 10px;
	font-size: 12px;
}
.we-chat-window .we-edit-btn-area .btn{
	margin-top:6px;
}
.we-chat-window .we-edit-btn-area .btn.btn-primary{
	background-color:#3dce3d;
	border: 1px solid #3dce3d;
}
.we-chat-window .we-edit-btn-area .btn.btn-primary:hover{
	background-color:#39c039; 
}
/*按钮禁用属性*/
.btn.disabled{
	background-color: #ccc;
	color:#666;
	cursor: default;
	border: 1px solid #ccc;
}
.btn.disabled:hover{
	background-color: #ccc;
	color:#666;
	cursor: default;
	border: 1px solid #ccc;
}
/*右边页签部分*/
.we-right-sidebar {
	position: absolute;
	top: 0px;
	bottom:0;
	right: 0;
	z-index: 1;
	float: right;
	width: 419px;
	border-left: 1px solid #e2e2e2;
	overflow: hidden;
}
.we-right-container{
	width:100%;
	height:100%;
	position: relative;
}
/*页签头部*/
.we-tab {
	background: #efefef;
	overflow: hidden;
}

.we-tab li.we-item {
	float: left;
	line-height: 28px;
	font-size: 14px;
	width: 25%;
	cursor: pointer;
	border-right:1px solid #e0e0e0;
}

.we-tab li.we-item div.we-item-content {
	width: 100%;
	height: 34px;
	text-align: center;
	position: relative;
	border-top: 3px solid #eee;
}
.we-tab li.current div.we-item-content {
	background: #fafafa;
	color: #59bb89;
	border-top: 3px solid #118259;
}
.we-tab li.current div.we-item-content span{
	color: #628bba;
}
/*页签切换的关闭内容*/
.we-tab li.we-item div.we-item-content i.close{
	font-size: 16px;
	color:#ccc;
	cursor: pointer;
	position: absolute;
	top:0px;
	right: 4px;
	font-style: normal;
}
.we-tab li.we-item div.we-item-content i.close:hover{
	color:#f00;
}
/*页签的内容*/
.we-tab-contents {
	clear: both;
	width: 100%;
	overflow: hidden;
	min-height: 100px;
	position: absolute;
	top:34px;
	left:0;
	right:0;
	bottom: 0;
}
/* .we-tab-contents .we-tab-content {
    display: none;
} */
.we-tab-contents .we-show {
	display: block;
}

.we-useful-text {
	height: 100%;
	overflow: auto;
}
/*常用问题列表*/
.we-useful-text .we-list01 {
	width: 100%;
	height: auto;
	padding-right:8px;
	list-style-type: decimal;
	-moz-box-sizing: border-box; /*Firefox3.5+*/
	-webkit-box-sizing: border-box; /*Safari3.2+*/
	-o-box-sizing: border-box; /*Opera9.6*/
	-ms-box-sizing: border-box; /*IE8*/
	box-sizing: border-box;
}

.we-useful-text .we-list01 li{
	font-size: 13px;
	line-height: 18px;
	margin: 6px 0;
	color: #646464;
	list-style-type: decimal;
	cursor: pointer;
}
.we-useful-text .we-list01 li:hover {
	color: #000000;
}
/*微信的表情样式文件*/
.we-icon-out .wl_faces_box {
	position: absolute;
	width: 410px;
	height: 226px;
	padding:15px;
	top: -228px;
	left: 00px;
	z-index: 5000;
	background-color: #fff;
	border: 1px #ccc solid;
	overflow-y:auto;
	display: none;
}

.we-icon-out .wl_faces_main {	
	height: auto;
	width: 100%;
}
.we-icon-out .wl_faces_main ul{
	height: auto;
	overflow: hidden;
}

.we-icon-out .wl_faces_main ul li {
	float: left;
	height: 30px;
	width: 30px;
	padding: 3px;
	text-align: center;
	border: 1px solid #fff;
	border-collapse: collapse;
	cursor: pointer;
}

.we-icon-out .wl_faces_main ul li:hover {
	border: 1px solid #c0e2d2;
}


